In short:
How to write a test, that checks that my class is not copyable or copy-assignable, but is only moveable and move-assignable?
If the goal is to ensure that the code won't compile, you can't have it as part of your test program, since otherwise, your test program won't compile. You have to invoke the compiler on it, and see what the return code is.