### Question:
FileMetrics { public int numberOfOperations() { return numberOfOperations; } FileMetrics(OpenApiVisitorContext context); int numberOfOperations(); int numberOfPaths(); int numberOfSchemas(); int complexity(); FileLinesVisitor fileLinesVisitor();  }### Answer:
@Test public void operations() { assertThat(metrics("operations.yaml").numberOfOperations()).isEqualTo(2); }