{
  "targets": [
    {
      "target_name": "packet_socket_addon",
      "sources": [ "src/wrapper.cc" ],
      "include_dirs" : [
          "<!(node -e \"require('nan')\")",
          "include"
      ],
      "cflags!": [ "-fno-exceptions" ],
      "cflags_cc!": [ "-fno-exceptions" ]
    },
    {
      "target_name": "test_wrapper",
      "sources": [ "src/wrapper.cc", "cc_mocks/socket.cc", "cc_tests/wrapper.cc" ],
      "include_dirs": [
          "<!(node -e \"require('nan')\")",
          "include"
      ],
      "libraries": [ "-lCppUTest", "-lCppUTestExt"  ],
      "cflags!": [ "-fno-exceptions" ],
      "cflags_cc!": [ "-fno-exceptions" ]
    },
    {
      "target_name": "test_poller",
      "sources": [ "src/poller.cc", "cc_tests/poller.cc" ],
      "include_dirs": [
          "<!(node -e \"require('nan')\")",
          "include"
      ],
      "libraries": [ "-lCppUTest", "-lCppUTestExt"  ],
      "cflags!": [ "-fno-exceptions" ],
      "cflags_cc!": [ "-fno-exceptions" ]
    }
  ]
}

@@ -361,24 +361,43 @@
 wrapper.cc%22,
+%0A                  
  %22cc_mocks/s
@@ -402,24 +402,84 @@
 /socket.cc%22,
+%0A                   %22cc_mocks/poller.cc%22,%0A                  
  %22cc_tests/w

Add poller mocks to test wrapper