diff --git a/pom.xml b/pom.xml
index 98896e106..51fb9e77a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1076,8 +1076,6 @@
.*.DefaultLogger7576
.*.Main8090
.*.PackageNamesLoader7872
- .*.PackageObjectFactory7575
- .*.PropertiesExpander5083
.*.PropertyCacheFile2219
.*.TreeWalker9492
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/PackageObjectFactoryTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/PackageObjectFactoryTest.java
index eb6693f2e..250c4acd1 100644
--- a/src/test/java/com/puppycrawl/tools/checkstyle/PackageObjectFactoryTest.java
+++ b/src/test/java/com/puppycrawl/tools/checkstyle/PackageObjectFactoryTest.java
@@ -37,6 +37,12 @@ public class PackageObjectFactoryTest {
private final PackageObjectFactory factory = new PackageObjectFactory(
new HashSet(), Thread.currentThread().getContextClassLoader());
+ @Test(expected = IllegalArgumentException.class)
+ public void testCtorException() throws CheckstyleException {
+ PackageObjectFactory factory = new PackageObjectFactory(
+ new HashSet(), null);
+ }
+
@Test
public void testMakeObjectFromName()
throws CheckstyleException {
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/PropertiesExpanderTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/PropertiesExpanderTest.java
new file mode 100644
index 000000000..8e9760732
--- /dev/null
+++ b/src/test/java/com/puppycrawl/tools/checkstyle/PropertiesExpanderTest.java
@@ -0,0 +1,32 @@
+////////////////////////////////////////////////////////////////////////////////
+// checkstyle: Checks Java source code for adherence to a set of rules.
+// Copyright (C) 2001-2015 the original author or authors.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+////////////////////////////////////////////////////////////////////////////////
+
+package com.puppycrawl.tools.checkstyle;
+
+import com.puppycrawl.tools.checkstyle.api.CheckstyleException;
+import org.junit.Test;
+
+public class PropertiesExpanderTest {
+
+ @Test(expected = IllegalArgumentException.class)
+ public void testCtorException() throws CheckstyleException {
+ PropertiesExpander object = new PropertiesExpander(null);
+ }
+
+}