示例#1
0
        public void DisableActiveLayers_ShouldDisableLayersPreviouslyEnabled()
        {
            // Given
            _viewManager.EnableLayers(View.Home);

            _ClearReceivedCallsOnAllViewsDisable();

            // When
            _viewManager.DisableActiveLayers();

            // Then
            _aHomeViewLayer.Received().Disable();
            _anotherHomeViewLayer.Received().Disable();
            _aLobbyViewLayer.DidNotReceive().Disable();
        }