public function testDeleteGroupSuccess()
{
$gatewayMock = $this->getGatewayMock();
$gatewayMock->expects($this->once())->method('countTypesInGroup')->with($this->equalTo(23))->will($this->returnValue(0));
$gatewayMock->expects($this->once())->method('deleteGroup')->with($this->equalTo(23));
$handler = $this->getHandler();
$handler->deleteGroup(23);
}