Package h07.experiment
Class ChickenNuggetGraphFactoryTest
- java.lang.Object
-
- h07.util.TestClass
-
- h07.experiment.ChickenNuggetGraphFactoryTest
-
public class ChickenNuggetGraphFactoryTest extends TestClass
Tests for classChickenNuggetGraphFactory
.
Depends onTemplateTests.DirectedGraphFactoryTemplateTest
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ChickenNuggetGraphFactoryTest.ChickenNuggetGraphTest
Tests for theDirectedGraph
returned byChickenNuggetGraphFactory.createDirectedGraph()
.-
Nested classes/interfaces inherited from class h07.util.TestClass
TestClass.MissingMemberException
-
-
Field Summary
Fields Modifier and Type Field Description Method
createDirectedGraph
Method
object forDirectedGraphFactory.createDirectedGraph()
private ChickenNuggetGraphFactoryTest
testClassInstance
Instance ofChickenNuggetGraphFactoryTest
-
Fields inherited from class h07.util.TestClass
classDescriptor, className, constructor, fields, methods, RANDOM
-
-
Constructor Summary
Constructors Constructor Description ChickenNuggetGraphFactoryTest()
Creates a newChickenNuggetGraphFactoryTest
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testDefinition()
Tests the definition ofChickenNuggetGraphFactory
.-
Methods inherited from class h07.util.TestClass
getClassForName, getFieldByCriteria, getFieldByName, getMethodByCriteria, getMethodByName, getMethodSignature, invokeExpectingException, newInstance, newInstanceExpectingException, testInstance
-
-
-
-
Field Detail
-
createDirectedGraph
public final Method createDirectedGraph
Method
object forDirectedGraphFactory.createDirectedGraph()
-
testClassInstance
private final ChickenNuggetGraphFactoryTest testClassInstance
Instance ofChickenNuggetGraphFactoryTest
-
-
Constructor Detail
-
ChickenNuggetGraphFactoryTest
public ChickenNuggetGraphFactoryTest()
Creates a newChickenNuggetGraphFactoryTest
object. Requires thatChickenNuggetGraphFactory
exists and has a constructor with no parameters.
-
-
Method Detail
-
testDefinition
@Test public void testDefinition()
Tests the definition ofChickenNuggetGraphFactory
.- Asserts that the class...
- is public
- is not abstract
- is not generic
- implements
DirectedGraphFactory
- Specified by:
testDefinition
in classTestClass
- Asserts that the class...
-
-