@Test
public void managersEqualReturnsFalseWhenDifferentManagerId() {

    // given
    var managerNodeId = 1L;
    var otherManagerNodeId = 2L;
    var managerNode = new HierarchyTreeNode(otherUserMock);
    var otherManagerNode = new HierarchyTreeNode();
    managerNode.id = managerNodeId;
    otherManagerNode.id = otherManagerNodeId;
    var node = new HierarchyTreeNode(userMock);
    node.manager = managerNode;
    var otherNode = new HierarchyTreeNode(userMock);
    otherManagerNode.manager = otherManagerNode;
    // when / then
    assertThat(node.managersEqual(otherNode)).isFalse();
}