The main principle of this test is based on the free choice by a subject mouse to spend time in any of three box’s compartments during two experimental sessions: the sociability session and the social novelty session.
For more details: three chamber social test