@Test
public void addMacToMacFlowTest() {

    nodeConnectorInstanceIdentifier = InstanceIdentifier.builder(Nodes.class)
            .child(Node.class, new NodeKey(new NodeId("node-id")))
            .child(NodeConnector.class, new NodeConnectorKey(new NodeConnectorId("nodeconnector-id"))).build();
    nodeConnectorRef = new NodeConnectorRef(nodeConnectorInstanceIdentifier);
    MacAddress sourceMac = new MacAddress("00:00:ac:f0:01:01");
    MacAddress destMac = new MacAddress("00:00:ac:f0:02:02");
    flowWriterService.addMacToMacFlow(sourceMac, destMac, nodeConnectorRef);
    verify(salFlowService, times(1)).addFlow(any(AddFlowInput.class));
}