intecture-api 0.3.2

API component for Intecture infrastructure. Intecture is the developer friendly, multi-lingual configuration management tool.
Documentation
--TEST--
Test fail while creating a Service with multiple invalid Runnables
--FILE--
<?php

use Intecture\Service;
use Intecture\ServiceException;
use Intecture\ServiceRunnable;

$runnables = array(
    'status' => new ServiceRunnable('/path/to/cmd', ServiceRunnable::COMMAND),
    '_' => 'not a ServiceRunnable'
);

try {
    $service = new Service($runnables);
} catch (ServiceException $e) {
    if ($e->getMessage() == 'Array values must be instances of Intecture\ServiceRunnable') {
        echo 'OK';
    }
}

--EXPECT--
OK