org.assertj.core.presentation
Class BinaryRepresentation
java.lang.Object
org.assertj.core.presentation.BinaryRepresentation
- All Implemented Interfaces:
- Representation
public class BinaryRepresentation
- extends Object
- implements Representation
Binary object representation instead of standard java representation.
- Author:
- Mariusz Smykula
Method Summary |
String |
toStringOf(Object object)
Returns binary the toString representation of the given object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE_PREFIX
public static final String BYTE_PREFIX
- See Also:
- Constant Field Values
BinaryRepresentation
public BinaryRepresentation()
toStringOf
public String toStringOf(Object object)
- Returns binary the
toString
representation of the given object. It may or not the object's own
implementation of toString
.
- Specified by:
toStringOf
in interface Representation
- Parameters:
object
- the given object.
- Returns:
- the
toString
representation of the given object.
Copyright © 2013–2015 AssertJ. All rights reserved.