powermock.examples.suppress.constructor
Class ExampleWithEvilConstructor

java.lang.Object
  extended by powermock.examples.suppress.constructor.ExampleWithEvilConstructor

public class ExampleWithEvilConstructor
extends Object

Example that demonstrates PowerMock's ability to suppress an objects own constructor.


Constructor Summary
ExampleWithEvilConstructor(String message)
           
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleWithEvilConstructor

public ExampleWithEvilConstructor(String message)
Method Detail

getMessage

public String getMessage()


Copyright © 2007-2012. All Rights Reserved.