public void MessageBuilderDslTest() { var builder = new MessageEntryBuilder(); MessageEntry entry = builder .Id(0x52) .Header(it => { it.FaintBlue().Y(0).Icon(0x52).NextMessage(0xFFFF).RupeeCost(0xFFFF); }) .Message(it => { it.QuickText(() => { it .Text("You got a ") .Pink(() => { it .Text("Swamp Gold Skulltula") .NewLine() .Text("Spirit"); }) .Text("!"); }) .PauseText(0x0010) .Text(" This is your ") .Red(() => { it.SkulltulaCount(); }) .Text(" one!") .EndFinalTextBox(); }) .Build(); Assert.IsTrue(entry.Equals(SkulltulaEntry)); }