<?php
/**
*
* Abstract class test.
*
*/
class Test_Solar_Factory extends Solar_Test {
/**
*
* Configuration values.
*
* @var array
*
*/
protected $_Test_Solar_Factory = array(
);
// -----------------------------------------------------------------
//
// Support methods.
//
// -----------------------------------------------------------------
/**
*
* Constructor.
*
* @param array $config User-defined configuration parameters.
*
*/
public function __construct($config = null)
{
$this->skip('abstract class');
parent::__construct($config);
}
// -----------------------------------------------------------------
//
// Test methods.
//
// -----------------------------------------------------------------
/**
*
* Test -- Constructor.
*
*/
public function test__construct()
{
$obj = Solar::factory('Solar_Factory');
$this->assertInstance($obj, 'Solar_Factory');
}
/**
*
* Test -- Disallow all calls to methods besides factory() and the existing support methods.
*
*/
public function test__call()
{
$this->todo('stub');
}
/**
*
* Test -- Factory method for returning adapter objects.
*
*/
public function testFactory()
{
$this->todo('stub');
}
}