public void PolymorphismWorks() { Lizard testLizard = new Lizard(); Owl testOwl = new Owl(); Penguin testPenguin = new Penguin(); Crow testCrow = new Crow(); Assert.IsAssignableFrom <Animals>(testLizard); Assert.Equal("Parliament", testOwl.GroupName()); Assert.Equal("Murder", testCrow.GroupName()); Assert.Equal("colony", testPenguin.GroupName()); }