GetExecutedProcedures() public method

public GetExecutedProcedures ( ) : Storm\Core\Object\IProcedure[]
return Storm\Core\Object\IProcedure[]
コード例 #1
0
ファイル: UnitOfWorkTest.php プロジェクト: timetoogo/penumbra
 public function testProcedureIsStoredForExecution()
 {
     $Procedure = $this->getMock(self::CoreObjectNamespace . 'IProcedure');
     $Procedure->expects($this->any())->method('GetEntityType')->will($this->returnValue(self::EntityType));
     $this->UnitOfWork->Execute($Procedure);
     $this->assertContains($Procedure, $this->UnitOfWork->GetExecutedProcedures());
 }