Do you mean that you want to unit test a controller? You can just test it like any other class. Just mock your dependencies (such as repositories) and then run test cases.
Have you used JUnit before?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.