[Process] Use assertSame instead of assertEquals to avoid comparison against `null`