public void Add_Throws_On_Null_Individual()
        {
            //Arrange
            var mockStore = new Mock <IGEDCOMStore>();
            var rep       = new GEDCOMIndividualRepository(mockStore.Object);

            //Act, Assert
            Assert.Throws <ArgumentNullException>(() => rep.Add(null));
        }
        public void Add_Calls_Store_AddIndividual()
        {
            //Arrange
            var mockStore  = new Mock <IGEDCOMStore>();
            var rep        = new GEDCOMIndividualRepository(mockStore.Object);
            var individual = new Individual();

            //Act
            rep.Add(individual);

            //Assert
            mockStore.Verify(s => s.AddIndividual(individual));
        }