public void SerializerSettings_IsCorrectlyInitialized(JSendClientSettings settings) { // Exercise system var client = new JSendClient(settings); // Verify outcome client.SerializerSettings.Should().BeSameAs(settings.SerializerSettings); }
public void MessageInterceptor_IsCorrectlyInitialized(JSendClientSettings settings) { // Exercise system var client = new JSendClient(settings); // Verify outcome client.MessageInterceptor.Should().BeSameAs(settings.MessageInterceptor); }
public void ConstructorThrowsWhenClientIsNull(JSendClientSettings settings) { // Exercise system and verify outcome Assert.Throws <ArgumentNullException>(() => new JSendClient(settings, null)); }
public void ConstructorThrowsWhenClientIsNull(JSendClientSettings settings) { // Exercise system and verify outcome Assert.Throws<ArgumentNullException>(() => new JSendClient(settings, null)); }