@isTest
|
private class LexCreateInternalStaffControllerTest {
|
static testMethod void testMethod1() {
|
RecordType recByoin = [select id from RecordType where IsActive = true and SobjectType= 'Account' limit 1];
|
Account hospital = new Account(Name = 'テスト病院');
|
hospital.RecordTypeId = recByoin.id;
|
hospital.Site = 'テスト病院部門';
|
hospital.Alias_Name2__c = 'テスト病院別名';
|
insert hospital;
|
lexCreateInternalStaffController.init(hospital.Id);
|
lexCreateInternalStaffController.init('hospital.Id');
|
}
|
}
|