Search in sources :

Example 1 with BladeClassDefineType

use of com.blade.types.BladeClassDefineType in project blade by biezhi.

the class BladeTest method testRegister.

@Test
public void testRegister() {
    Blade blade = Blade.of();
    BladeClassDefineType object = new BladeClassDefineType();
    blade.register(object);
    assertEquals(object, blade.ioc().getBean(BladeClassDefineType.class));
}
Also used : BladeClassDefineType(com.blade.types.BladeClassDefineType) Test(org.junit.Test)

Aggregations

BladeClassDefineType (com.blade.types.BladeClassDefineType)1 Test (org.junit.Test)1