public class DogTest
extends java.lang.Object
DogTest is a JUnit class for performing Unit testing of the Dog class
-
Constructor Summary
Constructors
Constructor |
Description |
DogTest() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
void |
getName() |
method to execute the getName getter method of the Dog class.
|
void |
setName() |
method to execute the setName setter method of the Dog class for setting name
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
public void getName()
method to execute the getName getter method of the Dog class.
-
public void setName()
method to execute the setName setter method of the Dog class for setting name