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