Let's say I have a class like this:

```
public class ClassA
{
    [...]

    protected void methodIWantToTest()
    {
        [...]
    }

    [...]
}

```

When I a write a unit test in IntelliJ Idea 13, I don't get compiler errors, when I write something like:

```
public class ClassATest
{
    @Test
    public void test()
    {
        final ClassA objectUnderTest = new ClassA();

        objectUnderTest.methodIWantToTest(); // Why can I access a protected method here?
    }
}

```

`methodIWantToTest` is protected. Why can I access it in a test?