@isTest
|
private class LexCreateJxsControllerTest {
|
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;
|
lexCreateJxsController c = new lexCreateJxsController();
|
lexCreateJxsController.init(hospital.Id);
|
lexCreateJxsController.init('hospital.Id');
|
}
|
}
|