Is it possible to have a test without using internal methods?

In general, it's preferable to test through a public API.