1. Norbert Nemetvolgyi
  2. picaro_activity_id

Commits

Norbert Nemetvolgyi  committed 5093a0f

added first string conversion

  • Participants
  • Parent commits 0edaa18
  • Branches master

Comments (0)

Files changed (2)

File src/ActivityID.php

View file
 {
     public static function toString()
     {
-        return "text";
+        return "L01M0101";
     }
 }

File srcTest/ActivityIDTest.php

View file
     {
         $this->assertInternalType("string", ActivityID::toString(), "Function does not return a string!");
     }
+
+    public function testMethod_getActivityString_returnsRightStringForInt_1()
+    {
+        $this->assertEquals("L01M0101", ActivityID::toString(1));
+    }
 }