public override void FixtureSetup()
{
base.FixtureSetup();
m_layouts = GenerateLayouts();
m_parts = GenerateParts();
m_stringTable = GenerateStringTable();
NonUndoableUnitOfWorkHelper.Do(m_actionHandler, () =>
{
m_entry = Cache.ServiceLocator.GetInstance<ILexEntryFactory>().Create();
m_entry.CitationForm.VernacularDefaultWritingSystem = TsStringUtils.MakeTss("rubbish", Cache.DefaultVernWs);
// We set both alternatives because currently the default part for Bibliography uses vernacular,
// but I think this will probably get fixed. Anyway, this way the test is robust.
m_entry.Bibliography.SetAnalysisDefaultWritingSystem("My rubbishy bibliography");
m_entry.Bibliography.SetVernacularDefaultWritingSystem("My rubbishy bibliography");
});
}
#endregion