private void isEqualToInteger(final Object param, final Object value) {
		if (value instanceof Integer) {
			if (!((Integer) value).equals(((Integer) param))) {
				throw new IllegalStateException("Integers are not equal.");
			}
		} else {
			throw new IllegalArgumentException();
		}
	}