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 ServiceRunnable with an invalid type
--FILE--
<?php

use Intecture\ServiceException;
use Intecture\ServiceRunnable;

try {
    $runnable = new ServiceRunnable('mysvc', 0);
} catch (ServiceException $e) {
    if ($e->getMessage() == 'Invalid Runnable type. Must be RUNNABLE_COMMAND or RUNNABLE_SERVICE.') {
        echo 'OK';
    } else {
        var_dump($e->getMessage());
    }
}
--EXPECT--
OK