### Question:
ReportXmlFormatter extends AbstractReportXmlFormatter<LintItem> { public static ReportXmlFormatter create(final LintReport<LintItem> lintReport, final FormatterType formatterType) { return new ReportXmlFormatter(lintReport, formatterType); } protected  ReportXmlFormatter(final LintReport<LintItem> lintReport, final FormatterType type); static ReportXmlFormatter create(final LintReport<LintItem> lintReport, final FormatterType formatterType); static ReportXmlFormatter createForLinterError(final LintReport<LinterError> lintReport,
      final FormatterType formatterType); static ReportXmlFormatter createForCssLintError(final LintReport<CssLintError> lintReport,
      final FormatterType formatterType);  }### Answer:
@Test(expected = NullPointerException.class) public void cannotCreateBuilderWithNullLintReport() { ReportXmlFormatter.create(null, ReportXmlFormatter.FormatterType.LINT); }
@Test(expected = NullPointerException.class) public void cannotCreateBuilderWithNullType() { ReportXmlFormatter.create(new LintReport<LintItem>(), null); }