public void Save_valid_bird_should_invoke_repository() { var bird = new Bird("Tree sparrow"); _validatorMock.IsValid(Arg.Any <Bird>()).Returns(true); _sut.Save(bird); _repositoryMock.Received().SaveOrUpdate(bird); }