public void setup() {
rubyScriptModel = new RubyScriptModel();
}
@Test public void testFindFixture() {
FixturePropertyHelper model = new FixturePropertyHelper(rubyScriptModel) {
@Override protected BufferedReader getFixtureReader(String fixture) {
return new BufferedReader(new StringReader(fixtureProperties));
}
};
assertEquals("default", model.findFixture(typicalTestScript, FIXTURE_IMPORT_MATCHER));
}