ucot.test
Class UseCaseTest

java.lang.Object
  extended by ucot.test.UseCaseTest

public class UseCaseTest
extends java.lang.Object

This class implements tests for use cases.

Author:
tujupien

Field Summary
(package private)  UseCaseCollection collection
           
(package private)  UseCase useCase
           
 
Constructor Summary
UseCaseTest()
           
 
Method Summary
 void testName()
          Method for testing use case object's name attribute.
 void testStep()
          Method for testing use case object's step attribute.
 void testUseCaseExists()
          Test use case existance checking method.
 void testUseCaseMerge()
          Testing use case collection's merge operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useCase

UseCase useCase

collection

UseCaseCollection collection
Constructor Detail

UseCaseTest

public UseCaseTest()
Method Detail

testName

public void testName()
Method for testing use case object's name attribute.


testStep

public void testStep()
Method for testing use case object's step attribute.


testUseCaseMerge

public void testUseCaseMerge()
Testing use case collection's merge operation. Use cases should equal each other exactly when they have the same name and exactly same steps.


testUseCaseExists

public void testUseCaseExists()
Test use case existance checking method.