public void ThatSubstanceHasSubstanceGroup()
        {
            var subst = SubstanceTestFixtures.CreateSubstanceWitGroup();

            new SubstanceRepository(GenFormApplication.SessionFactory)
            {
                subst
            };

            Assert.IsNotNull(subst.SubstanceGroup);
        }
        public void ThatSubstanceGroupContainsThatSubstance()
        {
            var substance = SubstanceTestFixtures.CreateSubstanceWitGroup();

            Assert.IsTrue(substance.SubstanceGroup.Substances.Contains(substance));
        }
        public void ThatAValidSubstanceIsCreatedInANewGroup()
        {
            var substance = SubstanceTestFixtures.CreateSubstanceWitGroup();

            Assert.IsNotNull(substance.SubstanceGroup);
        }