public void RpcOnPlayerAdded_ShouldNotUpdateLobbyView_WhenPlayerHasNotNetworkAuthority() { // Given var players = new[] { new Player("Player Name 1"), new Player("Player Name 2"), }; _networkBehaviourChecker .IsLocalPlayer(_playerController) .Returns(false); // When _playerController.RpcOnPlayerAdded(players); // Then _uiController .DidNotReceive() .UpdateLobby(players); }