/** * @expectedException \jdpowered\Share\Exception\InvalidArgumentException */ public function testExceptionIsRaisedWhenUrlIsNotOfStringType() { Share::googleplus(1234); }
/** * @expectedException \jdpowered\Share\Exception\InvalidArgumentException */ public function testExceptionIsRaisedWhenUrlIsNotOfStringType() { Share::facebook(1234); }
/** * @expectedException \jdpowered\Share\Exception\InvalidArgumentException */ public function testExceptionIsRaisedWhenTitleIsNotOfStringType() { Share::twitter('http://example.com/', 1234); }