public override void ArgumentNullConstructorTest() { AssertArguments.ThrowsWhenNullConstructor( this.Client.GetType(), new[] { typeof(IConnection), typeof(IGw2Client), typeof(int) }, new object[] { new Connection(), new Gw2Client(), 1 }, new[] { true, true, false }); }
public virtual void ArgumentNullConstructorTest() { AssertArguments.ThrowsWhenNullConstructor( typeof(DefaultEndpointClientImplementation <TestBaseObject>), new[] { typeof(IEndpointClient), typeof(IConnection), typeof(IGw2Client) }, new object[] { Substitute.For <IEndpointClient>(), new Connection(), new Gw2Client() }, new[] { true, true, true }); }
public override void ArgumentNullConstructorTest() { AssertArguments.ThrowsWhenNullConstructor( this.Client.GetType(), new[] { typeof(IConnection), typeof(IGw2Client), typeof(Guid) }, new object[] { new Connection(), new Gw2Client(), Guid.Parse("11111111-2222-3333-4444-abcdeffedcba") }, new[] { true, true, false }); }
public virtual void ArgumentNullConstructorTest() { AssertArguments.ThrowsWhenNullConstructor( this.client.GetType(), new[] { typeof(IConnection), typeof(IGw2Client) }, new object[] { new Connection(), new Gw2Client() }, new[] { true, true }); }
public void ConstructorNullFileNameTest() { AssertArguments.ThrowsWhenNullConstructor(typeof(ArchiveCacheMethod), new[] { typeof(string) }, new[] { "test" }, new[] { true }); }