private static VarQuotationsLayerFragment GetFragment() { var seeder = new VarQuotationsLayerFragmentSeeder(); return((VarQuotationsLayerFragment) seeder.GetFragment(null, "1.2", "exemplum fictum")); }
public void Seed_Ok() { VarQuotationsLayerFragmentSeeder seeder = new VarQuotationsLayerFragmentSeeder(); ITextLayerFragment fragment = seeder.GetFragment(_item, "1.1", "alpha"); Assert.NotNull(fragment); VarQuotationsLayerFragment fr = fragment as VarQuotationsLayerFragment; Assert.NotNull(fr); Assert.Equal("1.1", fr.Location); // TODO other assertions... }