@Test
public void skipConcept() throws RuleException {

    analyzerRuleVisitor.skipConcept(concept, Severity.MAJOR);
    verify(store, never()).executeQuery(eq(statement), anyMap());
    verify(reportWriter).beginConcept(concept);
    ArgumentCaptor<Result> resultCaptor = ArgumentCaptor.forClass(Result.class);
    verify(reportWriter).setResult(resultCaptor.capture());
    Result result = resultCaptor.getValue();
    assertThat(result.getStatus(), equalTo(Result.Status.SKIPPED));
    assertThat(result.getSeverity(), equalTo(Severity.MAJOR));
    verify(reportWriter).endConcept();
    verify(store, never()).create(ConceptDescriptor.class);
}