public void InstanceBlockShouldThrowOnHashcode() { Check.ThatCode(() => { var blk = new InstanceBlock(typeof(string)); blk.WithHashCode(); }) .Throws <NotSupportedException>().WithMessage("Cannot use hash code for generic instance description!"); }
public void InstanceBlockShouldThrowOnhashcode() { Check.ThatCode(() => { var blk = new InstanceBlock(typeof(string)); blk.WithHashCode(); }) .Throws <NotSupportedException>(); }
public void InstanceBlockShouldThrowOnhashcode() { Check.ThatCode(() => { var blk = new InstanceBlock(typeof(string)); blk.WithHashCode(); }) .Throws<NotSupportedException>(); }
public void InstanceBlockShouldThrowOnhashcode() { var blk = new InstanceBlock(typeof(string)); blk.WithHashCode(); }