net.sf.qualitytest.blueprint.strategy.creation
Class RandomCharValueCreationStrategy
java.lang.Object
net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy<Character>
net.sf.qualitytest.blueprint.strategy.creation.RandomCharValueCreationStrategy
- All Implemented Interfaces:
- CreationStrategy<Character>
public class RandomCharValueCreationStrategy
- extends ValueCreationStrategy<Character>
Strategy to create a random char value.
- Author:
- Dominik Seichter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomCharValueCreationStrategy
public RandomCharValueCreationStrategy()
createValue
public Character createValue(Class<?> expectedClass)
- Description copied from class:
ValueCreationStrategy
- Create a new value which can be assigned to an attribute.
- Specified by:
createValue
in class ValueCreationStrategy<Character>
- Parameters:
expectedClass
- which is requested.
- Returns:
- a new value
Copyright © 2012-2013. All Rights Reserved.