S
- the assertion classpublic class MailSessionAssertions<S extends javax.mail.Session> extends org.assertj.core.api.AbstractAssert<MailSessionAssertions<javax.mail.Session>,javax.mail.Session>
Constructor and Description |
---|
MailSessionAssertions(S session)
Create the assertion.
|
Modifier and Type | Method and Description |
---|---|
MailSessionAssertions |
hasProperties()
Assert that the session has properties.
|
MailSessionAssertions |
hasProperty(String property)
Assert that the session has specific property.
|
MailSessionAssertions |
hasTransport()
Assert that the session has a transport.
|
MailSessionAssertions |
hasTransport(javax.mail.Provider provider)
Assert that the session has a specific transport.
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
public MailSessionAssertions(S session)
session
- the session to assert.public MailSessionAssertions hasProperties()
public MailSessionAssertions hasProperty(String property)
property
- the property to assert.public MailSessionAssertions hasTransport()
public MailSessionAssertions hasTransport(javax.mail.Provider provider)
provider
- the transport provider to assert.Copyright © 2013-2018–2019 SeedStack. All rights reserved.