Package org.assertj.core.error.uri
Class ShouldHavePort
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.uri.ShouldHavePort
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHavePort extends BasicErrorMessageFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static int
NO_PORT
private static String
SHOULD_HAVE_NO_PORT
private static String
SHOULD_HAVE_PORT
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldHavePort(URI actual)
private
ShouldHavePort(URI actual, int expectedPort)
private
ShouldHavePort(URL actual)
private
ShouldHavePort(URL actual, int expectedPort)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldHavePort(URI actual, int expectedPort)
static ErrorMessageFactory
shouldHavePort(URL actual, int expectedPort)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
NO_PORT
private static final int NO_PORT
- See Also:
- Constant Field Values
-
SHOULD_HAVE_NO_PORT
private static final String SHOULD_HAVE_NO_PORT
- See Also:
- Constant Field Values
-
SHOULD_HAVE_PORT
private static final String SHOULD_HAVE_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldHavePort
public static ErrorMessageFactory shouldHavePort(URI actual, int expectedPort)
-
shouldHavePort
public static ErrorMessageFactory shouldHavePort(URL actual, int expectedPort)
-
-