@Test(expected = GenerationException.class)
public void should_throw_exeption_when_content_have_bad_unterminated_string() throws IOException {

    String unterminatedString = "'use strict\n";
    String content = "function PbInputCtrl($scope, $log, widgetNameFactory) { \n" + unterminatedString;
    Minifier.minify(content.getBytes());
}