/**
  * @covers ::from
  * @covers ::fromObject
  * @dataProvider provideStringyObjectsToTest
  */
 public function testDetectsStringyObjects($data, $expectedResult)
 {
     // ----------------------------------------------------------------
     // setup your test
     // ----------------------------------------------------------------
     // perform the change
     $actualResult = GetStringTypes::from($data);
     // ----------------------------------------------------------------
     // test the results
     $this->assertEquals($expectedResult, $actualResult);
 }
/**
 * get a full list of types that a string might satisfy
 *
 * @param  string $item
 *         the item to examine
 * @return string[]
 *         the list of type(s) that this item can be
 */
function get_string_types($item)
{
    return GetStringTypes::from($item);
}