Since you made the two variables the same, and so just ensured that it exists, this assertion amounts to verifying the behavior of EnsureDirectory, more than verifying the initial conditions for the test.