Test Failed
Push — CI ( 0f01dd...c95a04 )
by Adam
55:13
created

AOK_KnowledgeBaseTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 20
rs 10
1
<?PHP
2
3
class AOK_KnowledgeBaseTest extends PHPUnit_Framework_TestCase {
4
	
5
	public function testAOK_KnowledgeBase(){	
6
		
7
		//execute the contructor and check for the Object type and type attribute
8
		$aok_KnowledgeBase = new AOK_KnowledgeBase();
9
		$this->assertInstanceOf('AOK_KnowledgeBase',$aok_KnowledgeBase);
10
		$this->assertInstanceOf('Basic',$aok_KnowledgeBase);
11
		$this->assertInstanceOf('SugarBean',$aok_KnowledgeBase);
12
		
13
		$this->assertAttributeEquals('AOK_KnowledgeBase', 'module_dir', $aok_KnowledgeBase);
14
		$this->assertAttributeEquals('AOK_KnowledgeBase', 'object_name', $aok_KnowledgeBase);
15
		$this->assertAttributeEquals('aok_knowledgebase', 'table_name', $aok_KnowledgeBase);
16
		$this->assertAttributeEquals(true, 'new_schema', $aok_KnowledgeBase);
17
		$this->assertAttributeEquals(true, 'disable_row_level_security', $aok_KnowledgeBase);
18
		$this->assertAttributeEquals(false, 'importable', $aok_KnowledgeBase);
19
	
20
	}
21
	
22
}
23
?>