PHPUnit has assertion for array keys.