public void TestGetBoolean() { ContainerPlaceholder containerPlaceholder = new ContainerPlaceholder(); Action action = () => containerPlaceholder.ToBoolean(); action.Should().Throw <NotSupportedException>(); }
public void TestEquals() { ContainerPlaceholder containerPlaceholder = new ContainerPlaceholder(); Action action = () => containerPlaceholder.Equals(new Integer(0)); action.Should().Throw <NotSupportedException>(); }
public void TestGetScriptContainer() { IVerifiable container = new TestVerifiable(); UInt160 script_hash = new byte[] { 0x00 }.ToScriptHash(); StackItem state = new ContainerPlaceholder(); NotifyEventArgs args = new NotifyEventArgs(container, script_hash, state); args.ScriptContainer.Should().Be(container); }
public void TestGenerator() { ContainerPlaceholder containerPlaceholder = new ContainerPlaceholder(); Assert.IsNotNull(containerPlaceholder); }
public void TestGenerator() { ContainerPlaceholder containerPlaceholder = new ContainerPlaceholder(StackItemType.Any, 0); Assert.IsNotNull(containerPlaceholder); }