### Question:
PathPatternProcessorDecorator extends ProcessorDecorator { public static PathPatternProcessorDecorator exclude(final Object processor, final String... patterns) { return new PathPatternProcessorDecorator(processor, false, patterns); } private  PathPatternProcessorDecorator(final Object processor, final boolean includes, final String... patterns); static PathPatternProcessorDecorator include(final Object processor, final String... patterns); static PathPatternProcessorDecorator exclude(final Object processor, final String... patterns); @Override void process(final Resource resource, final Reader reader,
      final Writer writer); @Override String toString();  }### Answer:
@Test(expected = NullPointerException.class) public void cannotExclusdeNullPatterns() { final String[] patterns = null; PathPatternProcessorDecorator.exclude(mockProcessor, patterns); }