public void Should_write_the_attributes() { var testHelper = new HbmTestHelper<IdGeneratorMapping>(); testHelper.Check(x => x.ClassName, "native").MapsToAttribute("class"); var writer = new HbmIdGeneratorWriter(); testHelper.VerifyAll(writer); }
public void Should_produce_valid_hbm() { var generator = new IdGeneratorMapping() { ClassName = "native"}; var writer = new HbmIdGeneratorWriter(); writer.ShouldGenerateValidOutput(generator); }