/**
  * Transform a string number into a binary string using base autodetection
  *
  * @param string $string The string to transform
  *
  * @return string The binary transformed number
  */
 protected function normalize($string)
 {
     return BaseConverter::convertToBinary($string, '0123456789');
 }
 /**
  * @covers SecurityLib\BaseConverter::baseConvert
  * @expectedException InvalidArgumentException
  */
 public function testBaseConvertFailure()
 {
     BaseConverter::baseConvert(array(1), 1, 1);
 }