Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Mokery as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
percymamedy committed Feb 5, 2016
1 parent b124a4b commit 63f176c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"phpunit/phpunit": "~4.0"
"phpunit/phpunit": "~4.0",
"mockery/mockery": "0.9.*"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace FindBrok\WatsonTranslate\Tests\Mocks;
namespace FindBrok\WatsonTranslate\Mocks;

use GuzzleHttp\Client;
use GuzzleHttp\Handler\MockHandler;
Expand Down
17 changes: 7 additions & 10 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?php

use FindBrok\WatsonTranslate\Mocks\MockResponses as Response;
use FindBrok\WatsonTranslate\Translator;

/**
* Class TestCase
*/
class TestCase extends PHPUnit_Framework_TestCase
{
/**
* Testing text translate method
*/
public function testTextTranslate()
{
}

/**
* Testing for bulk translate
* Testing text translate method with sucessfull set of from
* attribute
*/
public function testBulkTranslate()
public function testTranslator_SetFrom_ReturnTranslator()
{
}
}

0 comments on commit 63f176c

Please sign in to comment.