I typically find myself struggling when doing some more complex expectations using Prophecy. To make things easier for myself I decided to create this cheatsheet.
$ObjectProphecy->method(
'value'
);
I typically find myself struggling when doing some more complex expectations using Prophecy. To make things easier for myself I decided to create this cheatsheet.
$ObjectProphecy->method(
'value'
);
$vat_rates = array( | |
'AT' => 20, // Austria | |
'BE' => 21, // Belgium | |
'BG' => 20, // Bulgaria | |
'HR' => 25, // Croatia | |
'CY' => 19, // Cyprus | |
'CZ' => 21, // Czech Republic | |
'DK' => 25, // Denmark | |
'EE' => 20, // Estonia | |
'FI' => 24, // Finland |
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |