public void CreateGoodTest() { _service.IsValid(Arg.Any <Family>()).Returns(true); _controller.Post(new Family()); _service.Received(1).Create(Arg.Any <Family>()); }
public void CreateGoodTest() { _service.IsValid(Arg.Any <Family>()).Returns(true); _controller.Post(new Family()); _service.Received(1).Create(Arg.Any <Family>()); }