@Test
public void testIsBreached() {

	LocalDateTime nowLocalDateTime = _createLocalDateTime();
	_assertIsBreached(
		false,
		_createDocument(
			HashMapBuilder.<String, Object>put(
				"createDate", _format(nowLocalDateTime)
			).build()),
		nowLocalDateTime, nowLocalDateTime.plusHours(1));
	_assertIsBreached(
		false,
		_createDocument(
			HashMapBuilder.<String, Object>put(
				"createDate", _format(nowLocalDateTime.minusHours(1))
			).build()),
		nowLocalDateTime, nowLocalDateTime.minusHours(2));
	_assertIsBreached(
		false,
		_createDocument(
			HashMapBuilder.<String, Object>put(
				"completionDate", _format(nowLocalDateTime.minusHours(1))
			).put(
				"createDate", _format(nowLocalDateTime.minusHours(2))
			).build()),
		nowLocalDateTime, nowLocalDateTime.minusHours(1));
	_assertIsBreached(
		true,
		_createDocument(
			HashMapBuilder.<String, Object>put(
				"createDate", _format(nowLocalDateTime.minusHours(2))
			).build()),
		nowLocalDateTime, nowLocalDateTime.minusHours(1));
	_assertIsBreached(
		true,
		_createDocument(
			HashMapBuilder.<String, Object>put(
				"completionDate", _format(nowLocalDateTime)
			).put(
				"createDate", _format(nowLocalDateTime.minusHours(2))
			).build()),
		nowLocalDateTime, nowLocalDateTime.minusHours(1));
}