@Override
    public void createRouter(Router osRouter) {
        checkNotNull(osRouter, ERR_NULL_ROUTER);
        checkArgument(!Strings.isNullOrEmpty(osRouter.getId()), ERR_NULL_ROUTER_ID);

        osRouterStore.createRouter(osRouter);
        log.info(String.format(MSG_ROUTER, deriveResourceName(osRouter), MSG_CREATED));
    }
@Test(expected = NullPointerException.class)
    public void testCreateRouterWithNull() {
        target.createRouter(null);
    }