def METHOD_NAME(self):
    # Imagine a CFG being:    0 -> 0x42, 0x42 -> 1, 1 -> 2, 0 -> 3
    # And the function graph: 0 -> 1, 1 -> 2, 0 -> 3
    my_function_graph, nodes = _a_graph_and_its_nodes()
    transitions = {nodes[0].addr: [0x42], 0x42: [nodes[1].addr]}
    my_slice = CFGSliceToSink(None, transitions)
    sliced_function_graph = slice_function_graph(my_function_graph, my_slice)
    self.assertEqual(len(my_function_graph.nodes), 2)
    self.assertEqual(len(my_function_graph.edges), 1)
    self.assertEqual(my_function_graph, sliced_function_graph)