I have an abstract class qCal_Value_Multi, and I want to test that it can contain multiple values. I do not want to have to create an actual child class just to test it. I'd like to be able to test its base functionality before getting more specific with child classes. So how would I go about this?
I already have qCal_Value, and it is well-tested. qCal_Value_Multi is an abstract class that extends qCal_Value (another abstract). Here is my (bare-bones) unit test case:
Code: Select all
<?php
/**
* This is a series of tests that ensure that data is property handled in the qCal_Value family of classes
*/
class UnitTestCase_Value extends UnitTestCase {
/**
* Any "multi-value" values should be capable of containing multiple values, separated by commas
*/
public function testMultiValuesContainListSeparatedByCommas() {
}
}