This work is focused on the design of a hydraulic device on which simulations of pressure shocks can be performed. The hydraulic device was constructed to allow simulations of pressure shocks transferred directly in operating conditions because simulation programs for hydraulic accumulators have only theoretical values while simulation on the designed hydraulic device enables obtaining specific readings directly in operating conditions that can be set. At the first control measurement on the hydraulic device, there occurred pressure shocks generated by the hydraulic device itself, these pressure shocks being undesirable in hydraulic circuits. In order to eliminate pressure shocks in the circuit, a diaphragm accumulator was added to the hydraulic device and was used to verify the function of simulating pressure shocks and eliminating undesirable pressure shocks. During the second control measurement on the hydraulic device, a reduction of unwanted pressure shocks was shown with the help of added diaphragm accumulator, thus the function of the hydraulic device to simulate pressure shocks was confirmed, which may also refect practical application in hydraulic circuits of mobile machines.