public void IsValidParentIsNullTest()
        {
            Business expected = null;

            _businessRepository.GetItem(Arg.Any <int>()).Returns(expected);
            Assert.Equal(false, _service.IsValid(new Family {
                BusinessId = 3
            }));
        }
 public void CreateGoodTest()
 {
     _service.IsValid(Arg.Any <Family>()).Returns(true);
     _controller.Post(new Family());
     _service.Received(1).Create(Arg.Any <Family>());
 }