@Test public void parseFixtureFromYaml() { Fixture fixture = Fixture.parseFrom(Fixtures.SIMPLE_WITH_DELAY, parser); assertThat(fixture.statusCode).isEqualTo(200); assertThat(fixture.delay).isEqualTo(300); assertThat(fixture.body).isEqualTo("{result:{}}"); assertThat(fixture.headers).containsExactly("Auth:auth", "key:value"); }
public static Fixture parseFrom(String fileName) { return parseFrom(fileName, new YamlParser()); }
Fixture { public static Fixture parseFrom(String fileName) { return parseFrom(fileName, new YamlParser()); } }
Fixture { public static Fixture parseFrom(String fileName) { return parseFrom(fileName, new YamlParser()); }  }
Fixture { public static Fixture parseFrom(String fileName) { return parseFrom(fileName, new YamlParser()); }  static Fixture parseFrom(String fileName); static Fixture parseFrom(String fileName, Parser parser); MockResponse toMockResponse(); }
Fixture { public static Fixture parseFrom(String fileName) { return parseFrom(fileName, new YamlParser()); }  static Fixture parseFrom(String fileName); static Fixture parseFrom(String fileName, Parser parser); MockResponse toMockResponse(); public int statusCode; public String body; public List<String> headers; public int delay; }