Skip to content

Commit

Permalink
LexerTestCase is now abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Jun 21, 2014
1 parent 67d40c7 commit 1db2fed
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tests/Concise/Syntax/LexerTestCase.php
Expand Up @@ -4,11 +4,16 @@

use \Concise\TestCase;

class LexerTestCase extends TestCase
abstract class LexerTestCase extends TestCase
{
/** @var Lexer */
protected $lexer;

/**
* @var array
*/
protected $parsed;

public function setUp()
{
parent::setUp();
Expand All @@ -30,4 +35,10 @@ public function testLexerWillReturnArgumentsForString()
{
$this->assertEquals($this->expectedArguments(), $this->parsed['arguments']);
}

protected abstract function expectedTokens();

protected abstract function expectedSyntax();

protected abstract function expectedArguments();
}

0 comments on commit 1db2fed

Please sign in to comment.