@isTest
private class RepairDetailsTriggerTest {
	
	@isTest static void test_method_one() {
		Repair__c repair1 = new Repair__c();
		repair1.Name = 'test';
		insert repair1;
		
		Repair__c repair2 = new Repair__c();
		repair2.Name = 'test';
		insert repair2;

		RepairDetails__c repairDetails1 = new RepairDetails__c();
		repairDetails1.Repair__c = repair1.id;
		repairDetails1.Name = 'test';
		insert repairDetails1;

		RepairDetails__c repairDetails2 = new RepairDetails__c();
		repairDetails2.Repair__c = repair1.id;
		repairDetails2.Name = 'test';
		insert repairDetails2;

		List<RepairDetails__c> repList = new list<RepairDetails__c>();
		RepairDetails__c repairDetails3 = new RepairDetails__c();
		repairDetails3.Repair__c = repair1.id;
		repairDetails3.Name = 'test';

		RepairDetails__c repairDetails4 = new RepairDetails__c();
		repairDetails4.Repair__c = repair2.id;
		repairDetails4.Name = 'test';

		RepairDetails__c repairDetails5 = new RepairDetails__c();
		repairDetails5.Repair__c = repair2.id;
		repairDetails5.Name = 'test';
		
		repList.add(repairDetails3);
		repList.add(repairDetails4);
		repList.add(repairDetails5);
		insert repList;
	}
	
}