net.jakubholy.jeeutils.jsfelcheck.validator
Class FakeValueFactory

java.lang.Object
  extended by net.jakubholy.jeeutils.jsfelcheck.validator.FakeValueFactory

public class FakeValueFactory
extends Object


Nested Class Summary
static class FakeValueFactory.UnableToCreateFakeValueException
           
 
Constructor Summary
FakeValueFactory()
           
 
Method Summary
static Object fakeValueOfType(Class<?> type, Object propertyToFake)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeValueFactory

public FakeValueFactory()
Method Detail

fakeValueOfType

public static Object fakeValueOfType(Class<?> type,
                                     Object propertyToFake)
                              throws FakeValueFactory.UnableToCreateFakeValueException
Parameters:
type - (required) a non-final class or an interface
propertyToFake - (required) for logging and naming
Returns:
Throws:
FakeValueFactory.UnableToCreateFakeValueException


Copyright © 2011. All Rights Reserved.