public function testGetResources() {
$resources = array(
$this
->getMock('Assetic\\Factory\\Resource\\ResourceInterface'),
$this
->getMock('Assetic\\Factory\\Resource\\ResourceInterface'),
);
$this->am
->addResource($resources[0], 'foo');
$this->am
->addResource($resources[1], 'bar');
$ret = $this->am
->getResources();
foreach ($resources as $resource) {
$this
->assertTrue(in_array($resource, $ret, true));
}
}