public function testConstructWithStringType() { $commit = new RawObject('foo', ''); $this->assertEquals('foo', $commit->getType()); }