You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tdropout.m
    path of file: ./repos/transformer-models/test/transformer/layer
    
    the code of the file until where you have to start completion: classdef tdropout < matlab.unittest.TestCase
    % tdropout   Unit tests for transformer.layer.dropout
    
    % Copyright 2020 The MathWorks, Inc.
    properties(TestPar
    
function resetGlobalSeed(~)
            rng(0);
        end
    end
    
    methods(Test)
        function doesDropout(test,Size,Probability)
            x = ones(Size);
            y = transformer.layer.dropout(x,Probability);
            % Expectation is that mean(y) is about 1 since we use inverted
            % dropout.
            actMean = mean(y,'all');
            expMean = 1;
            tol = 1e-1;
            test.verifyEqual(actMean,expMean,'AbsTol',tol);
        end