public void InstanceBlockWorksWhenTypeRequested() { var blk = new InstanceBlock(typeof(string)); blk.WithType(); Check.That(blk.GetMessage()).IsEqualTo("an instance of type: [string]"); }
public void ShouldWorkForInstance() { var blk = new InstanceBlock(typeof(string)); Assert.AreEqual("an instance of type: [string]", blk.GetMessage()); }