Posts Tagged ‘junit’

If you have created an Abstract Class you may want to test its non abstract methods. But there is one problem: we can’t instantiate abstract classes. There are two ways to test their non abstract methods: Testing Abstract Classes Through Their Children’s Suppose we have the following abstract class named Person: public abstract class Person […]