GetExecutedProcedures() public method

public GetExecutedProcedures ( ) : Storm\Core\Object\IProcedure[]
return Storm\Core\Object\IProcedure[]
示例#1
0
 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());
 }