use of com.tvd12.ezyfoxserver.ext.EzyEntry in project ezyfox-server by youngmonkeys.
the class EzyChildComponentTest method test.
@Test
public void test() {
EzyChildComponent component = spy(EzyChildComponent.class);
EzyEntry entry = mock(EzyEntry.class);
component.setEntry(entry);
assert component.getEntry() == entry;
EzyEventControllers eventControllers = mock(EzyEventControllers.class);
component.setEventControllers(eventControllers);
assert component.getEventControllers() == eventControllers;
component.destroy();
component.destroy();
}
Aggregations