public void TestFactoryReturnsIsNotNull() { IItemFactory factory = miscItemFactory; Item item = factory.CreateRandom(); Assert.IsNotNull(item); factory = weaponFactory; item = factory.CreateRandom(); Assert.IsNotNull(item); factory = potionFactory; item = factory.CreateRandom(); Assert.IsNotNull(item); }