public void IsValidParentIsNullTest()
        {
            Family expected = null;

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