public void AddCubeToSceneTest() { const string testEntityName = "TestEntityName"; SceneContentBusinessManager.AddSceneElementInSpace <CubeEntity>(SceneContentMock.Object, 0, 0, 0, testEntityName); StageMock.Verify(m => m.Add(It.IsAny <ISceneEntity>()), Times.Once()); }
public void TestImport3DModel() { SceneContentBusinessManager.Import3DModel("filename", "filepath", SceneContentMock.Object); StageMock.Verify(m => m.Add(It.IsAny <ISceneEntity>()), Times.Once()); }