@isTest
|
public with sharing class LexAssetUsefulControllerTest {
|
static testMethod void testMethod1() {
|
List<RecordType> rectCo = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = '病院'];
|
Account company1 = new Account();
|
company1.RecordTypeId = rectCo[0].Id;
|
company1.Name = '病院テスト1';
|
company1.OCM_man_province_txt__c = '江西';
|
insert company1;
|
LexAssetUsefulController.init(company1.Id);
|
LexAssetUsefulController.init('xxxxx72727');
|
}
|
|
|
}
|