org.assertj.core.presentation
Class StandardRepresentation

java.lang.Object
  extended by org.assertj.core.presentation.StandardRepresentation
All Implemented Interfaces:
Representation

public class StandardRepresentation
extends Object
implements Representation

Standard java object representation.

Author:
Mariusz Smykula

Constructor Summary
StandardRepresentation()
           
 
Method Summary
 String toStringOf(Object object)
          Returns standard 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
 

Constructor Detail

StandardRepresentation

public StandardRepresentation()
Method Detail

toStringOf

public String toStringOf(Object object)
Returns standard 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.