n-api,test: make method static
One non-static method remains
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Whoops! I left one out of the previous PR. Sorry!