I am new in unit testing. I have Symfony 3 console command application which is using symfony session for temporary data store. In my unit test class I extend KernelTestCase which give me error while I tested it but if I extend SymfonyComponentHttpKernelEventListenerTestSessionListener class then the error gone and passed the test. After some time I realize that it always