public void CreateThrowsForUnknownSimpleEntityValues() { var unknown = (SimpleEntity)137; Assert.Throws <ArgumentException>(() => AbstractEntity.Create(unknown, 0, 0)); }
public void CreateCreatesKnownEntities(SimpleEntity type, char expectedCharacter) { var actual = AbstractEntity.Create(type, 0, 0); Assert.That(actual.Character, Is.EqualTo(expectedCharacter)); }