from nose.tools import assert_equal, assert_raises, raises
from nose import SkipTest
from ..Parser import Parser

class TestParse:

    @raises(ValueError)
    def test_parse_none_string(self):
        Parser().parse(None)

    @raises(ValueError)
    def test_parse_non_string_param(self):
        Parser().parse(1)

    @raises(ValueError)
    def test_parse_empty_string(self):
        Parser().parse('')

