You are here

public function DataLayerUnitTests::testDataLayerAddWillAddData in dataLayer 7

Test DataLayer Add Will Add Data.

File

tests/datalayer.unit.test, line 42
Tests the functionality of the DataLayer module.

Class

DataLayerUnitTests
@file Tests the functionality of the DataLayer module.

Code

public function testDataLayerAddWillAddData() {
  $this
    ->setupEmptyDataLayer();
  $this
    ->assertEqual(array(
    'foo' => 'bar',
  ), datalayer_add(array(
    'foo' => 'bar',
  )));
}