Автор: otischlinger
Наследование: implements MetaborStd\Statemachine\Factory\ProcessDetectorInterface
 public function testWillAlwaysReturnTheSameProcess()
 {
     $process = new Process('test', new State('new'));
     $detector = new SingleProcessDetector($process);
     $subject = new \stdClass();
     $result = $detector->detectProcess($subject);
     $this->assertSame($process, $result);
 }