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

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

            //Act
            rep.Delete(individual);

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