This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@isTest | |
public class StockItemHandlerTestOne{ | |
// Test method for handlerBeforeInsert method | |
@isTest | |
static void testHandlerBeforeInsert() { | |
// Test data setup | |
List<Stock_Item__c> newStockItems = new List<Stock_Item__c>(); | |
Stock_Item__c item1 = new Stock_Item__c(Item_Name__c = 'Test Item 1'); | |
Stock_Item__c item2 = new Stock_Item__c(Item_Name__c = 'Test Item 2'); | |
Stock_Item__c item3 = new Stock_Item__c(Item_Name__c = 'Test Item 1'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template> | |
<!--Command +F yazinca aramak istedigimi word uzerinden arayabilirim--> | |
<div class="slds-col slds-size_1-of-1 slds-medium-size_1-of-1 slds-large-size_1-of-1" style="background-color: rgb(164, 142, 115);"> | |
<img src="https://t3.ftcdn.net/jpg/05/75/22/58/360_F_575225818_PQ2ZPHFw51yCcmieutB5bT843nPAPzo3.jpg" alt="lawPicture"> | |
<br><br> | |
<div style="background:white;padding:4px"> | |
<div class="slds-m-around_medium"> | |
<h1 style="font-weight: bold; color: #0070D2;">Fill the Form For Confirmation</h1> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@isTest | |
public class StockItemHandlerTestOne{ | |
// Test method for handlerBeforeInsert method | |
@isTest | |
static void testHandlerBeforeInsert() { | |
// Test data setup | |
List<Stock_Item__c> newStockItems = new List<Stock_Item__c>(); | |
Stock_Item__c item1 = new Stock_Item__c(Item_Name__c = 'Test Item 1'); | |
Stock_Item__c item2 = new Stock_Item__c(Item_Name__c = 'Test Item 2'); | |
Stock_Item__c item3 = new Stock_Item__c(Item_Name__c = 'Test Item 1'); |