public void SingleStrainRequestTest() { //ARRANGE var strain = new Strain(); //ACT strain = (Strain)StrainController.GetStrain("VUJCJ4TYMG000000000000000"); //ASSERT Assert.IsNotNull(strain); Assert.IsTrue(strain.IsValid()); Assert.IsTrue(strain.Name == "Jack Herer"); //OUTPUT Console.WriteLine("Strain: " + strain.Name); }
public void ExtractStrainTest() { //ARRANGE var strain = new Strain(); //ACT strain = ExtractController.GetExtractStrain("9XVU74QKE6UK4P69XKZH00000"); //ASSERT Assert.IsNotNull(strain); Assert.IsTrue(strain.IsValid()); //OUTPUT Console.WriteLine("Name: " + strain.Name); Console.WriteLine("Seed Company: " + strain.SeedCompany.Name); Console.WriteLine("------------------------"); }
public void FlowerStrainTest() { //ARRANGE var strain = new Strain(); //ACT strain = (Strain)FlowerController.GetFlowerStrain("AHZ7H4N6467FVUDY3DAY00000"); //ASSERT Assert.IsNotNull(strain); Assert.IsTrue(strain.IsValid()); //OUTPUT Console.WriteLine("Name: " + strain.Name); Console.WriteLine("Seed Company: " + strain.SeedCompany.Name); Console.WriteLine("------------------------"); }
public void EdibleStrainTest() { //ARRANGE var strain = new Strain(); //ACT strain = EdibleController.GetEdibleStrain("4KXM32V9YFC3G2EUNWP400000"); //ASSERT Assert.IsNotNull(strain); Assert.IsTrue(strain.IsValid()); //OUTPUT Console.WriteLine("Name: " + strain.Name); Console.WriteLine("Seed Company: " + strain.SeedCompany.Name); Console.WriteLine("------------------------"); }
public void ProductStrainTest() { //ARRANGE var strain = new Strain(); //ACT strain = ProductController.GetProductStrain("9XVU7NK3PEGLAJ372X4F00000"); //ASSERT Assert.IsNotNull(strain); Assert.IsTrue(strain.IsValid()); //OUTPUT Console.WriteLine("Name: " + strain.Name); Console.WriteLine("Seed Company: " + strain.SeedCompany.Name); Console.WriteLine("------------------------"); }