use of org.terasology.entitySystem.entity.EntityManager in project Terasology by MovingBlocks.
the class ComponentSystemManagerTest method setUp.
@Before
public void setUp() {
Context context = mock(Context.class);
EntityManager entityManager = mock(EntityManager.class);
when(entityManager.getEventSystem()).thenReturn(mock(EventSystem.class));
when(context.get(EntityManager.class)).thenReturn(entityManager);
console = mock(Console.class);
when(context.get(Console.class)).thenReturn(console);
systemUnderTest = new ComponentSystemManager(context);
}
Aggregations