public class BasicErrorMessageFactory extends Object implements ErrorMessageFactory
Modifier and Type | Field and Description |
---|---|
protected Object[] |
arguments |
protected String |
format |
Constructor and Description |
---|
BasicErrorMessageFactory(String format,
Object... arguments)
Creates a new
BasicErrorMessageFactory . |
public BasicErrorMessageFactory(String format, Object... arguments)
BasicErrorMessageFactory
.format
- the format string.arguments
- arguments referenced by the format specifiers in the format string.public String create(Description d)
create
in interface ErrorMessageFactory
d
- the description of the failed assertion.Copyright © 2013 AssertJ. All Rights Reserved.