public void Get_RelationReferenceTNode_ThrowsInvalidOperationException() { var bgc = new BoltGraphClient(DriverTestHelper.MockDriverWithConnectionSet().Object); var ex = Record.Exception(() => bgc.Get <TestNode>(new RelationshipReference(1))); ex.Should().NotBeNull(); ex.Should().BeOfType <InvalidOperationException>(); ex.Message.Should().Be(BoltGraphClient.NotValidForBolt); }