public void LoadEmptyScene_And_OnNextFrame_ShouldUnloadAssets_GivenUnloadAssetsSceneLoadMode() { // Arrange const string sceneBehaviorName = "Behavior name"; var scene = TestSceneFactory.Create(); SetUpSceneBehavior(sceneBehaviorName, scene); _sceneFactory.Create().Returns(scene); // Act _sceneManager.LoadEmptyScene(sceneBehaviorName, SceneLoadMode.UnloadAssets); _sceneManager.OnNextFrame(); // Assert _assetStore.Received().UnloadAssets(); }