public function shouldWorkWithDefaultParameters()
{
//given
$testMethodHandler = new TestMethodHandler();
$proxy = DynamicProxy::newInstance('Ouzo\\Utilities\\ClassWithMethodDefaultParameters', $testMethodHandler);
//when
$proxy->fun();
//then
$this->assertEquals(array(array('fun', array())), $testMethodHandler->calls);
}