use of org.neo4j.bolt.messaging.BoltIOException in project neo4j by neo4j.
the class MessageMetadataParserTest method shouldThrowForIncorrectTransactionTimeout.
@Test
void shouldThrowForIncorrectTransactionTimeout() {
BoltIOException e = assertThrows(BoltIOException.class, () -> parseTransactionTimeout(asMapValue(map("tx_timeout", "15 minutes"))));
assertTrue(e.causesFailureMessage());
}
Aggregations